<div class="hotproduct">
<h2 class="hover">热卖产品</h2>
<div class="productinfo fongbg" id="products">
          {{foreach from=$goods_list item=list key=key}}
          {{$rank = json_decode($list.rank)}}
          <div class="remaigood">
            <p><a href="{{$list.url}}" title="{{$list.goods_desc}}"><img src="{{$list.goods_thumb}}" width="300" height="200" /></a></p>
         
          
          <div class="remaicategory">
            <h4><a href="{{$list.url}}" title="{{$list.goods_desc}}">{{$list.goods_name}}</a>   </h4>
            <dl class="priceinfo">
              <dt>售价</dt>
              <dd class="size1"><em>{{$list.shop_priced}}</em> 青币</dd>
              <dd class="colora"><span>投产成本</span>{{$list.market_priced}}</dd>
              <dd class="colora"><span>上架时间</span>{{$list.add_time}}
            {{if $is_cat_admin}}<a class="label label-primary " href="main.php?act=goods_edit&goods_id={{$list.goods_id}}">产品更新</a>{{/if}}
              </dd>
              <dd class="xiaoliang"><a href="#"><span class="colornm"><strong>销售量</strong> {{$list.goods_number}}</span> <span><em class="marginle label label-warning" title="全站排名">全站排名 {{$rank->goods_number}}</em></span></a></dd>
            </dl>
            <ul class="numbercount">
             
              <li class="active border-ri">
              <dl>
              <dt>好评度</dt> 
              <dd> {{$per_haop = $list.haoping/($list.h.h3+$list.h.h2+$list.h.h1)}}
                {{if $per_haop}}{{round($per_haop)}}{{else}}60{{/if}} % </dd>
                <dd class="paimc">全站排名 {{$rank->haoping}}</dd></dl></li>
              <li class="tuibox">
                <div class="tuiguang">
                  <div  class="pull-left tg "> <span class="label label-success">好评 {{$list.h.h3}} 次</span><span class="label label-warning">中评     {{$list.h.h2}} 次</span><span class="label label-danger">差评
 {{$list.h.h1}} 次</span> </div>
                </div>
              </li>
            
            </ul>
          </div>
          <!--kankangood end--> 
         
          </div>
          
         {{/foreach}}
        </div>
        <!--productinfo end--> 
        
</div>
{{include file="../pager.htm"}}

